initialize
Initializes the control with its associated module context.
This method is typically called once before the control is first used or made active. It allows the control to set up its internal state, resources, and prepare for operation based on the provided data.
If #isAutoStart() is true, implementations might also trigger their start logic within or immediately after initialization.
Initializes the WeatherView using settings from the provided com.reveldigital.player.api.Module. This involves parsing Option values for:
- "Location": The city, zip code, or area for weather data.
- "UnitOfMeasure": "Metric" for Celsius, otherwise Fahrenheit (default).
- "ForeColor": The color for the temperature text (hex string).
- "DropShadowEffect": Parameters for the shadow effect on the temperature text.
Parameters
module
The module data containing configuration options for the weather view. This is typically the same module instance passed during construction.